package com.yupi.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 生产操作记录明细实体
 */
@Data
@TableName("production_operation_record")
public class ProductionOperationRecord {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long taskId;
    private Long batchId;
    private Long stepId;
    private Integer operationSeq;
    private String execType;

    private String eventType;
    private Date eventTime;

    private Long operatorId;
    private String operatorName;
    private String operatorCode;

    private Long createdBy;
    private String createdByName;

    private String clientIp;
    private String deviceCode;
    private String remark;

    private Date createTime;
    private Date updateTime;

    @TableLogic
    private Integer isDelete;
}